/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   Fish.h
 * Author: dou
 *
 * Created on 2016年2月19日, 上午10:10
 */

#ifndef FISH_H
#define FISH_H

#ifdef __cplusplus
extern "C" {
#endif
    
#include "Animal.h"
#include "IMoveable.h"

#define FISH_PKG     OOC_TEST_PKG
    
    
    OOC_CLASS_DEF_(FISH_PKG, Fish) {
        OOC_EXTENDS(ANIMAL_PKG, Animal); // 继承Animal抽象类
        OOC_IMPLEMENTS(IMOVEABLE_PKG, IMoveable); // 实现IMoveable接口

    };


    OOC_PEN(FISH_PKG, Fish)* OOC_CTOR_NAME_P(FISH_PKG, Fish)();
    OOC_PEN(FISH_PKG, Fish)* OOC_ONAME(OOC_CTOR_NAME_P(FISH_PKG, Fish), a)(muc8* name, int age);

#ifdef __cplusplus
}
#endif

#endif /* FISH_H */

